type IDType = string | number

function printID(id: IDType) {
  console.log(id)
}